package com.fyl.schedule;

public class JobDefinition {

    private String jobGroup;

    private String jobName;

    private String cron;

    private Boolean disallowConcurrentExecution;

    private String clazz;

    private String method;

    public String getJobGroup() {
        return jobGroup;
    }

    public void setJobGroup(String jobGroup) {
        this.jobGroup = jobGroup;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public String getCron() {
        return cron;
    }

    public void setCron(String cron) {
        this.cron = cron;
    }

    public Boolean getDisallowConcurrentExecution() {
        return disallowConcurrentExecution;
    }

    public void setDisallowConcurrentExecution(Boolean disallowConcurrentExecution) {
        this.disallowConcurrentExecution = disallowConcurrentExecution;
    }

    public String getClazz() {
        return clazz;
    }

    public void setClazz(String clazz) {
        this.clazz = clazz;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    @Override
    public String toString() {
        return "JobDefinition{" +
                "jobGroup='" + jobGroup + '\'' +
                ", jobName='" + jobName + '\'' +
                ", cron='" + cron + '\'' +
                ", disallowConcurrentExecution=" + disallowConcurrentExecution +
                ", clazz='" + clazz + '\'' +
                ", method='" + method + '\'' +
                '}';
    }
}
